package com.example.demo.e1;

import lombok.Data;

@Data
public class Car {
    private int size;
    private String color;
    private Framework framework;
    public Car(int size,String color){
        this.framework = new Framework(size,color);
        System.out.println("car init...");
    }
    public void run(){
        System.out.println("car run...");
    }
}
